<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j">

<h:form>
	<h:panelGrid columns="3">
		<h:outputLabel for="assunto" value="Assunto" />
		<h:inputText id="assunto" value="#{artigoController.artigo.assunto}" required="true" />
		<h:message for="email" />

		<h:outputLabel for="texto" value="Texto" />
		<h:inputText id="texto" value="#{artigoController.artigo.texto}" required="true" />
		<h:message for="texto" />
	</h:panelGrid>
	<h:commandButton value="Salvar" action="#{artigoController.salvar}"/>
</h:form>

</html>